package com.fantastic.mapper.zjs;

import com.fantastic.model.pojo.zjs.VarietySetMeal;

import java.util.List;

/**
 * @author: rxx
 * @since: 2024/6/1 12:14
 * @description: 菜品信息和套餐信息关联表mapper层
 */
public interface VarietySetMealMapper {
    /**
     * 查询菜品信息和套餐信息关联表
     *
     * @return
     */
    List<VarietySetMeal> listVarietyMeal(VarietySetMeal varietyMeal);

    /**
     * 查询菜品信息和套餐信息关联表
     *
     * @param varietyMealId
     * @return
     */
    VarietySetMeal getVarietyMeal(Integer varietyMealId);

    /**
     * 添加菜品信息和套餐信息关联表
     *
     * @param varietyMeal
     * @return
     */
    Integer insertVarietyMeal(VarietySetMeal varietyMeal);

    /**
     * 修改菜品信息和套餐信息关联表
     *
     * @param varietyMeal
     * @return
     */
    Integer updateVarietyMeal(VarietySetMeal varietyMeal);

    /**
     * 删除菜品信息和套餐信息关联表
     *
     * @param varietyMealId
     * @return
     */
    Integer deleteVarietyMeal(Integer varietyMealId);

}
